/**
 * 行政许可
 */
import store from '@/store';
const company = store.getters.companyInfo;
const dt = company.Company;

const gd = dt.Licens;
const contents = gd.map((item, key) => {
  return {
    left: item.LicensDocName,
    children: [
      {
        left: '许可文件编号',
        content: item.LicensDocNo || '-',
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '有效期自',
        content: item.ValidityFrom || '-',
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '有效期至',
        content: item.ValidityTo || '-',
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '许可机关',
        content: item.LicensOffice || '-',
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '许可内容',
        content: item.LicensContent || '-',
        link: '',
        icon: '',
        right: ''
      }
    ]
  };
});

export default contents;
// export default [];
